<!DOCTYPE HTML>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <title>Project Ubertooth - Developing Firmware</title>
    <link rel="stylesheet" type="text/css" href="/style.css" media="screen">
    <meta name="generator" content="nanoc 3.1.6">
  </head>
  <body>
    <div id="main">
      <h1>Developing Firmware</h1>

<p>You'll need a toolchain that supports ARM Cortex-M3.  The Makefiles in
Project Ubertooth are designed for GCC and a Linux-based toolchain,
specifically the free installation provided at <a
href="https://launchpad.net/gcc-arm-embedded">https://launchpad.net/gcc-arm-embedded</a>,
but it should be possible to compile firmware with any development environment
for the Cortex-M3.  Just unpack the archive and add the bin directory to your
PATH.</p>

<p>Prior to r518, we used the <a
href="http://www.codesourcery.com/">Codesourcery</a> toolchain, but it has
become harder to locate.</p>


<p>Although firmware source and binary images can be found in the 
<a href="https://github.com/greatscottgadgets/ubertooth/releases">release downloads</a>, 
you will probably want fresh code from <a
href="https://www.github.com/greatscottgadgets/ubertooth">git</a>.</p>

<p>Ubertooth Zero and Ubertooth One are not binary compatible.  The default
target is Ubertooth One.  If you are compiling firmware for Ubertooth Zero, set
the environment variable BOARD = UBERTOOTH_ZERO.</p>

    </div>
    <div id="sidebar">
      <h1>Project Ubertooth</h1>
      <ul>
        <li><a href="https://github.com/greatscottgadgets/ubertooth/wiki">home</a></li>
        <li><a href="https://github.com/greatscottgadgets/ubertooth/releases">download</a></li>
      </ul>
      <h2>usage</h2>
      <ul>
        <li><a href="https://github.com/greatscottgadgets/ubertooth/wiki/Getting-Started">getting started</a></li>
        <li><a href="https://github.com/greatscottgadgets/ubertooth/wiki/Build-Guide">build guide</a></li>
      </ul>
      <h2>hardware</h2>
      <ul>
        <li><a href="https://github.com/greatscottgadgets/ubertooth/wiki/Ubertooth-Zero">Ubertooth Zero</a></li>
        <li><a href="https://github.com/greatscottgadgets/ubertooth/wiki/Ubertooth-One">Ubertooth One</a></li>
        <li><a href="https://github.com/greatscottgadgets/ubertooth/wiki/Assembling-Hardware">build guide</a></li>
        <li><a href="https://github.com/greatscottgadgets/ubertooth/wiki/Programming">programming</a></li>
      </ul>
      <h2>firmware</h2>
      <ul>
        <li><a href="https://github.com/greatscottgadgets/ubertooth/wiki/Firmware">developing</a></li>
      </ul>
      <h2>host code</h2>
      <ul>
        <li><a href="https://github.com/greatscottgadgets/ubertooth/wiki/Software">developing</a></li>
      </ul>
      <h2>help</h2>
      <ul>
        <li><a href="https://github.com/greatscottgadgets/ubertooth/wiki/Getting-Help">Getting Help</a></li>
        <li><a href="https://lists.sourceforge.net/lists/listinfo/ubertooth-general">mailing list</a></li>
      </ul>
    </div>
  </body>
</html>
